package com.wjh.mirna.service.impl;

import com.wjh.mirna.dao.LdiseaseDao;
import com.wjh.mirna.model.Ldisease;
import com.wjh.mirna.service.LdiseaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class LdiseaseServiceImpl implements LdiseaseService {
    @Autowired
    LdiseaseDao ldiseaseDao;
    @Override
    public List<Ldisease> selectDisease() {
        return ldiseaseDao.selectDisease();
    }

    @Override
    public Ldisease selectByDname(String dname) {
        return ldiseaseDao.selectByDname(dname);
    }
}
